#!/bin/bash
if [[ -d ./build ]] ;then
  rm ./build -rf
fi
if [[ -d ./dist ]]; then
  rm ./dist -rf
fi

python3 setup.py sdist bdist_wheel
python3 -m twine upload --repository-url http://npm.tuocad.com:8081/repository/pypi-hosted/ dist/*
